<table border="0" cellspacing="1" cellpadding="3" class="outer">
<{foreach item=m from=$mile}>
  <tr>
    <td class="head">
      <{if $m->get('url')|strpos:$smarty.const.XOOPS_URL === 0 && $m->get('url')|mileage_url_check}>
        <a href="<{$m->getShow('url')}>"><{$m->getShow('name')}></a>
      <{else}>
        <{$m->getShow('name')}>
      <{/if}>
    </td>
    <td class="<{cycle values='odd,even'}>" style="text-align:center;">
      <{if $m->mile_number > 0}>
        <img src="<{$smarty.const.XOOPS_URL}>/modules/<{$dirname}>/images/good.gif" />
      <{else}>
        -
      <{/if}>
      <{* $m->total_points *}>
    </td>
  </tr>
<{/foreach}>
</table>